home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / 2col43.zip / DEMO2COL.BAT < prev    next >
DOS Batch File  |  1992-12-21  |  5KB  |  106 lines

  1. @echo off
  2. if "%1"=="9" goto 9
  3. if "%1"=="24" goto 24
  4. if "%1"=="J" goto J
  5. if "%1"=="j" goto J
  6. echo.
  7. echo To run this demo on a 9-pin printer type:  DEMO2COL 9 (enter)
  8. echo.
  9. echo If your 9-pin printer does not support 20 char/inch,type:DEMO2COL 9 -W68 (enter)
  10. echo.
  11. echo To run this demo on a 24-pin (LQ type) printer type:DEMO2COL 24 (enter)
  12. echo.
  13. echo To run this demo on a Deskjet type: DEMO2COL J (enter)
  14. echo.
  15. goto end
  16. :9
  17. echo.
  18. echo Some of the printing modes demonstrated are available only to registered users.
  19. echo Various options can be combined on the command line, if separated by spaces.
  20. echo.
  21. echo 2col prints with its default settings: 2COL 2COL.DOC >prn
  22. 2COL 2COL.DOC -K -F1 %2
  23. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 >prn
  24. echo This feature is available to registered users only.>prn
  25. 2COL 2COL.DOC -K -F0 -U8 %2
  26. echo Maximum # of lines/page with full size type is 102: 2COL 2COL.DOC -L102 >prn
  27. 2COL 2COL.DOC -K -F1 -L102 %2
  28. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L180>prn
  29. 2COL 2COL.DOC -K -F1 -L170 %2
  30. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  31. 2COL 2COL.DOC -K -F1 -C66 %2
  32. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  33. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  34. 2COL 2COL.DOC -K -F0 -D -N %2
  35. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  36. echo This feature is available to registered users only.>prn
  37. 2COL 2COL.DOC -K -F0 -X2 %2
  38. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  39. 2COL 2COL.DOC -K -F1 -W68
  40.  
  41. goto endr
  42. :J
  43. echo 2COL will print demonstration pages in the following order:>prn
  44. echo (A 4 line top margin has been added to all printouts using -F4)>prn
  45. echo.>prn
  46. echo 1.default settings: 2COL 2COL.DOC -J>prn
  47. echo.>prn
  48. echo 2.Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -J>prn
  49. echo   This feature is available to registered users only.>prn
  50. echo.>prn
  51. echo 3.Maximum # of lines/page with full height type is 102: 2COL 2COL.DOC -L102 -J>prn
  52. echo.>prn
  53. echo 4.For more than 102 lines/page 2COL uses 6 point type: 2COL 2COL.DOC -L170 -J>prn
  54. echo.>prn
  55. echo 5.To retain all blank lines in original document type: 2COL 2COL.DOC -C66 -J>prn
  56. echo.>prn
  57. echo 6.Original source pages can be delimited by typing: 2COL 2COL.DOC -D -J>prn
  58. echo   Pages can be numbered at the bottom by typing 2COL 2COL.DOC -N -J>prn
  59. echo.>prn
  60. echo 7.You can print exactly 2 pages/column by typing: 2COL 2COL.DOC -X2 -D -J>prn
  61. echo   This feature is for registered users only.>prn
  62. echo.>prn
  63. echo 8.To print at 17 cpi, use a column width of less than 69:2COL 2COL.DOC -W68 -J>prn
  64. echo   Since the Deskjet actually prints at 16.67 cpi, you must be careful when>prn
  65. echo   using the -W68 or -W67 options because up to 4 characters could be >prn
  66. echo   truncated on the right side of the page as shown in this example.>prn
  67. echo &l2C&l0L >prn
  68. 2col 2col.doc -K -f4 -J
  69. 2col 2col.doc -K -f4 -U8 -J
  70. 2col 2col.doc -K -F4 -L102 -J
  71. 2col 2col.doc -K -F4 -L170 -J
  72. 2col 2col.doc -K -F4 -C66 -J
  73. 2col 2col.doc -K -F4 -D -N -J
  74. 2col 2col.doc -K -F4 -X2 -D -J
  75. 2col 2col.doc -K -F4 -W68 -J
  76. goto endr
  77. :24
  78. echo.
  79. echo Some of the printing modes demonstrated are available only to registered users.
  80. echo Various options can be combined on the command line, if separated by spaces.
  81. echo When using a 24-pin printer the -Q option must always be used.
  82. echo.
  83. echo 2col prints with its default settings: 2COL 2COL.DOC -Q >prn
  84. 2COL 2COL.DOC -K -F1 -Q
  85. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -Q >prn
  86. echo This feature is available to registered users only.>prn
  87. 2COL 2COL.DOC -K -F0 -U8 -Q
  88. echo 24-Pin printers use taller fonts. Your printing will appear less crowded >prn
  89. echo if you choose 82 lines per page : 2COL 2COL.DOC -L82 -Q >prn
  90. 2COL 2COL.DOC -K -F0 -L82 -Q
  91. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L160 -Q>prn
  92. 2COL 2COL.DOC -K -F1 -L160 -Q
  93. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  94. 2COL 2COL.DOC -K -F1 -C66 -Q
  95. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  96. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  97. 2COL 2COL.DOC -K -F0 -D -N -Q
  98. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  99. echo This feature is available to registered users only.>prn
  100. 2COL 2COL.DOC -K -F0 -X2 -Q
  101. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  102. 2COL 2COL.DOC -K -F1 -W68 -Q
  103. :endr
  104. copy register.doc prn
  105. :end
  106.